package com.ruoyi.a2.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.util.List;


@ApiModel
@Data
public class A2HPMConfigJson {

    @ApiModelProperty(value = "历史规律挖掘配置id集合")
    private List<Long> idList;


    @Range(min = 0, max = 1, message = "类型范围必须在 0 到 1 之间！")
    @NotNull(message = "类型不能为空！")
    @ApiModelProperty(value = "类型(0:停止 1:开始)")
    private Integer type;

}
